<template>
</template>

<script>
	  export default {
	    data() {
	      return {
	      	loadObj:null,
	       
	      }
	    },
    methods: {
      /**初始化加载面板**/
      initLoading(loadtext) {   
      	
	         this.loadObj = this.$loading({
		          lock: true,
		          text: loadtext,
		          spinner: 'el-icon-loading',
		          background: 'rgba(0, 0, 0, 0.7)'
	        });
      },
      
      /**关闭加载面板**/
      closeLoading(){
      		this.loadObj.close();
      }     
    }
  }
	
</script>

<style>
</style>